Set-Location -Path D:\Tool\consul_1.15.2_windows_amd64
$ip=192.168.88.57
#$ip参数传递不过去gateway.docker.internal
./consul.exe agent -dev -client 192.168.88.57
#./consul.exe agent -dev -client gateway.docker.internal
$RootPath = split-path -parent $MyInvocation.MyCommand.Definition
Set-Location -Path $RootPath
